import request from '@/utils/request'


// 新增短信发送记录
export function PostSms(data) {
    return request({
        url: '/biz/sms',
        method: 'post',
        data: data
    })
}
// 修改短信发送记录
export function PutSms(query) {
    return request({
        url: '/biz/sms',
        method: 'put',
        data: query
    })
}
// 导出短信发送记录
export function SmsExport(query) {
    return request({
        url: '/biz/sms/export',
        method: 'get',
        params: query
    })
}
// 查询短信发送记录
export function SmsList(query) {
    return request({
        url: '/biz/sms/list',
        method: 'get',
        params: query
    })
}
// 删除短信发送记录
export function DelectSms(ids) {
    return request({
        url: '/biz/sms/' + ids,
        method: 'DELETE',
    })
}
// 获取短信发送记录详细信息
export function SmsId(id) {
    return request({
        url: '/biz/sms/' + id,
        method: 'get',
    })
}